| Server IP : 198.38.84.71 / Your IP : 216.73.217.138 Web Server : Apache System : Linux 198-38-84-71.cprapid.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : vyaparmandaljobn ( 1020) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/vyaparmandaljobn/public_html/wp-content/themes/essentials/inc/config/js/ |
Upload File : |
(function ($) {
$('.pixfort-skip').on('click', function () {
$('.is-active').addClass('finished');
var next = $($(this).attr('href'));
setTimeout(function () {
$('.is-active').removeClass('is-active');
next.addClass('is-active');
}, 400);
});
$('.pixfort-finish').on('click', function () {
$('.is-active').removeClass('is-active');
setTimeout(function () {
$('.dashboard-grid').removeClass('getting-started');
$('.dashboard-grid').addClass('animate-dashboard');
}, 200);
var data = {
action: 'pix_finish_dashboard',
};
$.ajax({
url: dashboard_object.AJAX_URL,
data: data,
method: 'POST',
}).done(function (data) {});
});
$('.pix-theme-deactivate').on('click', function () {
let pk = $(this).attr('data-pk');
if (
window.confirm(
'Are you sure that you want to deactivate the theme?'
)
) {
var data = {
action: 'pix_deactivate_theme',
pk
};
$.ajax({
url: dashboard_object.AJAX_URL,
data: data,
method: 'POST',
})
.done(function (response) {
var data = JSON.parse(response);
if (data.result) {
$('.svg-dashboard-done')
.removeClass('pix-start-animation')
.addClass('pix-start-animation');
$('.pix-verify-status-text').html(data.message);
$('.pix-theme-deactivate').hide();
} else {
$('.dashboard-done').hide();
$('.pix-verify-status-text').html(data.message);
}
})
.fail(function (err) {});
}
});
setTimeout(function () {
$('.svg-dashboard-done').addClass('pix-start-animation');
}, 1200);
})(jQuery);